package com.milkshopbackend.milkshop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("user_address")
public class Address {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;
    private String name;
    private String tel;
    private String province;
    private String city;
    private String county;
    private String addressDetail;
    private Integer isDefault; // 0-否 1-是
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
} 